package com.example.apiversioncontroldemo.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chen.cr
 * @since 2023/10/25
 */
@RestController
@RequestMapping("/open")
public class OpenController {


    @GetMapping("/door")
    public String door() {
        return "open the door.";
    }

}
